class HttpException : public std::runtime_error {
private:
	int StatusCode;
	std::string StatusMessage;

public:
	HttpException(int code, const std::string& statusMessage, const std::string& msg):
	  std::runtime_error ( msg ),
	  StatusCode ( code ),
	  StatusMessage ( statusMessage ){
	}

	int get_StatusCode() const {
		return StatusCode;
	}

	std::string get_StatusMessage() const {
		return StatusMessage;
	}
};